build: filter out command line assembler arguments
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 20 Feb 2018 14:10:12 +0000 (14:10 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 21 Feb 2018 17:17:39 +0000 (17:17 +0000)
commit07f141bfa6c748bdec0fc17aeb9fc20f9c939323
treeb1dfc8b8f53cc7a7c66bba303fba93dbe15b52a1
parente82c185e4ca8940ca18a9aa01024e3e8609e546c
build: filter out command line assembler arguments

If the assembler is not used. This happens when using cc -E or cc -S
for example. GCC will just ignore the -Wa,... when the assembler is
not called, but clang will complain loudly and fail.

Also enable passing -Wa,-I$(BASEDIR)/include to clang now that it's
safe to do so.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/Rules.mk
xen/arch/x86/Makefile
xen/arch/x86/Rules.mk
xen/include/Makefile